package com.yiqi.lottery.entity.bo;

import com.suozhang.framework.entity.bo.BaseEntity;
import com.suozhang.framework.entity.bo.UserInfoBo;

import java.util.List;

public class OrderDetailBo implements BaseEntity{


    /**
     * order_id : 642
     * order_amount : 1024.00
     * order_status : 1
     * finish_time : null
     * created_at : 1528881720
     * follow_num : 0
     * is_follow : 2
     * pass_type : 5串1
     * follow_intro :
     * min_amount : 2048
     * follow_id : 0
     * bet_type : 4
     * bet_label : 竞足
     * user_info : {"user_id":9,"username":"拒绝","avatar":"http://p950xh667.bkt.clouddn.com/FkWi4Z-db6gPErYmhOHtZpj80TKd"}
     * bet_info : {"issue_id":"20180613","bet_code":"20180613101:0-3,0-1,1-3,1-1:2|20180613102:0-1,0-0,1-1,1-0:2|20180613103:0-1,1-1:2|20180613104:0-1,0-0,1-1,1-0:2|20180613105:0-1,0-0,1-1,1-0:2`5c1","multiple":1,"type":11,"pass_type":0}
     * bet_plan : [{"hn":"米内罗美洲","an":"沙佩科恩斯","ot":1528905300,"dan":"2","bet_list":[{"radio":null,"bet":"胜","type":0,"label":"胜平负"},{"radio":"3.05","bet":"平","type":0,"label":"胜平负"},{"radio":null,"bet":"胜","type":1,"label":"让球胜平负"},{"radio":"3.40","bet":"平","type":1,"label":"让球胜平负"}]},{"hn":"弗鲁米嫩塞","an":"桑托斯","ot":1528905300,"dan":"2","bet_list":[{"radio":"3.10","bet":"平","type":0,"label":"胜平负"},{"radio":"2.05","bet":"负","type":0,"label":"胜平负"},{"radio":"3.60","bet":"平","type":1,"label":"让球胜平负"},{"radio":"4.35","bet":"负","type":1,"label":"让球胜平负"}]},{"hn":"巴拉纳","an":"克鲁塞罗","ot":1528905300,"dan":"2","bet_list":[{"radio":"2.85","bet":"平","type":0,"label":"胜平负"},{"radio":"3.25","bet":"平","type":1,"label":"让球胜平负"}]},{"hn":"累西腓体育","an":"格雷米奥","ot":1528905300,"dan":"2","bet_list":[{"radio":"2.92","bet":"平","type":0,"label":"胜平负"},{"radio":"2.88","bet":"负","type":0,"label":"胜平负"},{"radio":"3.75","bet":"平","type":1,"label":"让球胜平负"},{"radio":"1.49","bet":"负","type":1,"label":"让球胜平负"}]},{"hn":"哥伦布机员","an":"亚特兰大联","ot":1528934100,"dan":"2","bet_list":[{"radio":"3.65","bet":"平","type":0,"label":"胜平负"},{"radio":"1.78","bet":"负","type":0,"label":"胜平负"},{"radio":"3.70","bet":"平","type":1,"label":"让球胜平负"},{"radio":"3.23","bet":"负","type":1,"label":"让球胜平负"}]}]
     */

    private String order_id;
    private double order_amount;
    private int order_status;
    private long finish_time;
    private int created_at;
    private int follow_num;
    private int is_follow;
    private String pass_type;
    private String follow_intro;
    private int min_amount;
    private int follow_id;
    private int bet_type;
    private String bet_label;
    private UserInfoBo user_info;
    private BetInfoBean bet_info;
    private List<BetPlanBo> bet_plan;
    private double reward;
    private int follow_status;
    private int is_open;

    public int getIs_open() {
        return is_open;
    }

    public void setIs_open(int is_open) {
        this.is_open = is_open;
    }

    public int getFollow_status() {
        return follow_status;
    }

    public void setFollow_status(int follow_status) {
        this.follow_status = follow_status;
    }

    public double getReward() {
        return reward;
    }

    public void setReward(double reward) {
        this.reward = reward;
    }

    private double min_reward;
    private double max_reward;

    public double getMin_reward() {
        return min_reward;
    }

    public void setMin_reward(double min_reward) {
        this.min_reward = min_reward;
    }

    public double getMax_reward() {
        return max_reward;
    }

    public void setMax_reward(double max_reward) {
        this.max_reward = max_reward;
    }

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public double getOrder_amount() {
        return order_amount;
    }

    public void setOrder_amount(double order_amount) {
        this.order_amount = order_amount;
    }

    public int getOrder_status() {
        return order_status;
    }

    public void setOrder_status(int order_status) {
        this.order_status = order_status;
    }

    public long getFinish_time() {
        return finish_time;
    }

    public void setFinish_time(long finish_time) {
        this.finish_time = finish_time;
    }

    public int getCreated_at() {
        return created_at;
    }

    public void setCreated_at(int created_at) {
        this.created_at = created_at;
    }

    public int getFollow_num() {
        return follow_num;
    }

    public void setFollow_num(int follow_num) {
        this.follow_num = follow_num;
    }

    public int getIs_follow() {
        return is_follow;
    }

    public void setIs_follow(int is_follow) {
        this.is_follow = is_follow;
    }

    public String getPass_type() {
        return pass_type;
    }

    public void setPass_type(String pass_type) {
        this.pass_type = pass_type;
    }

    public String getFollow_intro() {
        return follow_intro;
    }

    public void setFollow_intro(String follow_intro) {
        this.follow_intro = follow_intro;
    }

    public int getMin_amount() {
        return min_amount;
    }

    public void setMin_amount(int min_amount) {
        this.min_amount = min_amount;
    }

    public int getFollow_id() {
        return follow_id;
    }

    public void setFollow_id(int follow_id) {
        this.follow_id = follow_id;
    }

    public int getBet_type() {
        return bet_type;
    }

    public void setBet_type(int bet_type) {
        this.bet_type = bet_type;
    }

    public String getBet_label() {
        return bet_label;
    }

    public void setBet_label(String bet_label) {
        this.bet_label = bet_label;
    }

    public UserInfoBo getUser_info() {
        return user_info;
    }

    public void setUser_info(UserInfoBo user_info) {
        this.user_info = user_info;
    }

    public BetInfoBean getBet_info() {
        return bet_info;
    }

    public void setBet_info(BetInfoBean bet_info) {
        this.bet_info = bet_info;
    }

    public List<BetPlanBo> getBet_plan() {
        return bet_plan;
    }

    public void setBet_plan(List<BetPlanBo> bet_plan) {
        this.bet_plan = bet_plan;
    }



    public static class BetInfoBean implements BaseEntity{
        /**
         * issue_id : 20180613
         * bet_code : 20180613101:0-3,0-1,1-3,1-1:2|20180613102:0-1,0-0,1-1,1-0:2|20180613103:0-1,1-1:2|20180613104:0-1,0-0,1-1,1-0:2|20180613105:0-1,0-0,1-1,1-0:2`5c1
         * multiple : 1
         * type : 11
         * pass_type : 0
         */

        private String issue_id;
        private String bet_code;
        private int multiple;
        private int type;
        private int pass_type;
        private int pour_num;

        public int getPour_num() {
            return pour_num;
        }

        public void setPour_num(int pour_num) {
            this.pour_num = pour_num;
        }

        public String getIssue_id() {
            return issue_id;
        }

        public void setIssue_id(String issue_id) {
            this.issue_id = issue_id;
        }

        public String getBet_code() {
            return bet_code;
        }

        public void setBet_code(String bet_code) {
            this.bet_code = bet_code;
        }

        public int getMultiple() {
            return multiple;
        }

        public void setMultiple(int multiple) {
            this.multiple = multiple;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getPass_type() {
            return pass_type;
        }

        public void setPass_type(int pass_type) {
            this.pass_type = pass_type;
        }
    }


}
